import request from "../../utils/http/request";

// 单点登录
export function authLogin(query) {
    return request({
        url: "/auth/login",
        method: "get",
        params: query,
    });
}

//获取用户信息
export function getInfo(query) {
    return request({
        url: "/getInfo",
        method: "get",
        params: query,
    });
}

//获取应用列表
export function getAppList(query) {
    return request({
        url: "/v1/app/web/query",
        method: "post",
        data: query,
    });
}


/**
 * 退出
 */
export function logout(data) {
    return request({
        url: "/logout",
        method: "get",
        params: data,
    });
}



